HipTextureAtlasLoadTask

Returns a load task for a texture atlas If ":IGNORE" is provided for texturePath, the following behavior will occur: - .json: Will try to load a file with same name but with extension .png - .atlas: texturePath is always ignored - .txt(or any): Load a file with same name but extension .png - .xml: Ignore internal texture path to try file with same name but .png extension

Constructors

this
this(string path, string name, HipAsset asset, string texturePath, const(ubyte)[] extraData, string fileRequesting, size_t lineRequesting)
Undocumented in source.

Members

Functions

update
void update()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

img
Image img;
Undocumented in source.
texturePath
string texturePath;
Undocumented in source.

Inherited Members

From HipAssetLoadTask

name
string name;
Undocumented in source.
path
string path;
Undocumented in source.
_result
HipAssetResult _result;
Undocumented in source.
_asset
HipAsset _asset;
Undocumented in source.
worker
HipWorkerThread worker;
Undocumented in source.
error
string error;
Undocumented in source.
hasFinishedLoading
bool hasFinishedLoading()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
addOnCompleteHandler
void addOnCompleteHandler(void delegate(HipAsset) onComplete)
Undocumented in source. Be warned that the author may not have intended to support it.
addOnCompleteHandler
void addOnCompleteHandler(void delegate(string) onComplete)
Undocumented in source. Be warned that the author may not have intended to support it.
into
void into(string*[] variables)
Undocumented in source. Be warned that the author may not have intended to support it.
into
void into(void* function(HipAsset asset) castFunc, HipAsset*[] variables)
Undocumented in source. Be warned that the author may not have intended to support it.
await
void await()
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update()
Undocumented in source. Be warned that the author may not have intended to support it.
result
HipAssetResult result()
Undocumented in source. Be warned that the author may not have intended to support it.
asset
HipAsset asset()
Undocumented in source. Be warned that the author may not have intended to support it.
result
HipAssetResult result(HipAssetResult newResult)
Undocumented in source. Be warned that the author may not have intended to support it.
asset
HipAsset asset(HipAsset newAsset)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta